package com.ctgu.fcftsystem.service;

import com.ctgu.fcftsystem.pojo.Expenditure;

import java.util.Date;
import java.util.List;

public interface ExpenditureService {

    /**
     * 根据时间对支出记录进行查询
     * @param date
     * @return
     */
    List<Expenditure> searchExpenditureByDate(Date date);

    /**
     * 根据类型对支出记录进行查询
     * @param expenditureType
     * @return
     */
    List<Expenditure> searchExpenditureByType(Integer expenditureType);
}
